// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
import QtQuick 1.1
import com.nokia.symbian 1.1
import QtWebKit 1.0

Page{
    id: login_page

    tools: ToolBarLayout {
    ToolButton {
    iconSource: "toolbar-back"
    // quit the application on click signal
    onClicked: Qt.quit();
            }
        }
        Flickable{
            id: flickable
            anchors.fill: parent
            contentHeight: web_view1.height
            contentWidth: web_view1.width
           WebView {
                id: web_view1
                x: -346
                y: 210
                smooth: true
                contentsScale: 0.700
                url: "index.php.htm"
//                height: 640
//                width: 360
                //url: "https://mobile.free.fr/moncompte/"
                preferredHeight: flickable.height
                preferredWidth: flickable.width

                onLoadStarted: {
                   // m_downData.check(web_view1.html);
                    console.log("/!\ Loading /!\ ");
                 }
                onLoadFinished: console.log("#/ ! \ Loading finished /!\ #");
                onLoadFailed: console.log("# / ! \ Loading Failed/!\ #");
            }

        }
}
